package com.common.util;

import java.io.IOException;
import java.util.Properties;

public class RunSettingUtil {
	
    public static int WAITTIME;

    public static int MAXRUNTIMES;

    static {
        Properties p = new Properties();
        try {
            p.load(RunSettingUtil.class.getResourceAsStream("/properties/runtimesetting.properties"));
            WAITTIME = Integer.parseInt(p.getProperty("waittime"));
            MAXRUNTIMES = Integer.parseInt(p.getProperty("maxruntimes"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
